/*
 * Copyright (c) 2025 Li Auto Inc. and its affiliates
 * Licensed under the Apache License, Version 2.0(the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef CANIF_VCOS_LOG_H
#define CANIF_VCOS_LOG_H

#ifdef __cplusplus
extern "C" {
#endif

#define CANIF_DLT_CHECK_ID0 "{CANIF}set controller[%d] mode[%d]!ret:%d\r\n"
#define CANIF_DLT_CHECK_ID1 "{CANIF}set channel[%d] pdu mode[%d]!\r\n"
#define CANIF_DLT_CHECK_ID2 "{CANIF}receive wakeup frame success!\r\n"
#define CANIF_DLT_CHECK_ID3 "{CANIF}start wup validation!WakeupSource[%d]\r\n"
#define CANIF_DLT_CHECK_ID4 "{CANIF}validation pass!WakeupSource[%d]\r\n"

/************************** CANIF start **************************/
/*=============== CANIF_INIT_ID ===============*/
#define CANIF_CANIF_INIT_ID_CANIF_E_PARAM_POINTER

/*=============== CANIF_SET_CONTROLLER_MODE_ID ===============*/
#define CANIF_CANIF_SET_CONTROLLER_MODE_ID_CANIF_E_PARAM_CONTROLLERID
#define CANIF_CANIF_SET_CONTROLLER_MODE_ID_CANIF_E_PARAM_CTRLMODE
#define CANIF_CANIF_SET_CONTROLLER_MODE_ID_CANIF_E_UNINIT

/*=============== CANIF_GET_CONTROLLER_MODE_ID ===============*/
#define CANIF_CANIF_GET_CONTROLLER_MODE_ID_CANIF_E_PARAM_CONTROLLERID
#define CANIF_CANIF_GET_CONTROLLER_MODE_ID_CANIF_E_PARAM_POINTER
#define CANIF_CANIF_GET_CONTROLLER_MODE_ID_CANIF_E_UNINIT

/*=============== CANIF_TRANSMIT_ID ===============*/
#define CANIF_CANIF_TRANSMIT_ID_CANIF_E_PARAM_CONTROLLERID
#define CANIF_CANIF_TRANSMIT_ID_CANIF_E_PARAM_POINTER
#define CANIF_CANIF_TRANSMIT_ID_CANIF_E_PARAM_CTRLMODE
#define CANIF_CANIF_TRANSMIT_ID_CANIF_E_PARAM_PDUMODE
#define CANIF_CANIF_TRANSMIT_ID_CANIF_E_UNINIT
#define CANIF_CANIF_TRANSMIT_ID_CANIF_E_INVALID_TXPDUID

/*=============== CANIF_SETPDUMODE_ID ===============*/
#define CANIF_CANIF_SETPDUMODE_ID_CANIF_E_PARAM_CONTROLLERID
#define CANIF_CANIF_SETPDUMODE_ID_CANIF_E_PARAM_PDUMODE
#define CANIF_CANIF_SETPDUMODE_ID_CANIF_E_UNINIT

/*=============== CANIF_GETPDUMODE_ID ===============*/
#define CANIF_CANIF_GETPDUMODE_ID_CANIF_E_PARAM_CONTROLLERID
#define CANIF_CANIF_GETPDUMODE_ID_CANIF_E_PARAM_POINTER
#define CANIF_CANIF_GETPDUMODE_ID_CANIF_E_UNINIT

/*=============== CANIF_SETDYNAMICTX_ID ===============*/
#define CANIF_CANIF_SETDYNAMICTX_ID_CANIF_E_UNINIT
#define CANIF_CANIF_SETDYNAMICTX_ID_CANIF_E_INVALID_TXPDUID

/*=============== CANIF_SET_TRANSCEIVERMODE_ID ===============*/
#define CANIF_CANIF_SET_TRANSCEIVERMODE_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_SET_TRANSCEIVERMODE_ID_CANIF_E_PARAM_TRCVMODE
#define CANIF_CANIF_SET_TRANSCEIVERMODE_ID_CANIF_E_UNINIT

/*=============== CANIF_GET_TRANSCEIVERMODE_ID ===============*/
#define CANIF_CANIF_GET_TRANSCEIVERMODE_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_GET_TRANSCEIVERMODE_ID_CANIF_E_PARAM_POINTER
#define CANIF_CANIF_GET_TRANSCEIVERMODE_ID_CANIF_E_UNINIT

/*=============== CANIF_GET_TRCVWAKEUPREASON_ID ===============*/
#define CANIF_CANIF_GET_TRCVWAKEUPREASON_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_GET_TRCVWAKEUPREASON_ID_CANIF_E_PARAM_POINTER
#define CANIF_CANIF_GET_TRCVWAKEUPREASON_ID_CANIF_E_UNINIT

/*=============== CANIF_SET_TRANSCEIVERWAKEMODE_ID ===============*/
#define CANIF_CANIF_SET_TRANSCEIVERWAKEMODE_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_SET_TRANSCEIVERWAKEMODE_ID_CANIF_E_PARAM_TRCVWAKEUPMODE
#define CANIF_CANIF_SET_TRANSCEIVERWAKEMODE_ID_CANIF_E_UNINIT

/*=============== CANIF_CHECKWAKEUP_ID ===============*/
#define CANIF_CANIF_CHECKWAKEUP_ID_CANIF_E_PARAM_WAKEUPSOURCE
#define CANIF_CANIF_CHECKWAKEUP_ID_CANIF_E_UNINIT

/*=============== CANIF_CHECKVALIDATION_ID ===============*/
#define CANIF_CANIF_CHECKVALIDATION_ID_CANIF_E_PARAM_WAKEUPSOURCE
#define CANIF_CANIF_CHECKVALIDATION_ID_CANIF_E_UNINIT

/*=============== CANIF_TXCONFIRMATION_ID ===============*/
#define CANIF_CANIF_TXCONFIRMATION_ID_CANIF_E_PARAM_LPDU
#define CANIF_CANIF_TXCONFIRMATION_ID_CANIF_E_UNINIT

/*=============== CANIF_RXINDICATION_ID ===============*/
#define CANIF_CANIF_RXINDICATION_ID_CANIF_E_PARAM_CANID
#define CANIF_CANIF_RXINDICATION_ID_CANIF_E_PARAM_DLC
#define CANIF_CANIF_RXINDICATION_ID_CANIF_E_PARAM_HRH
#define CANIF_CANIF_RXINDICATION_ID_CANIF_E_PARAM_POINTER
#define CANIF_CANIF_RXINDICATION_ID_CANIF_E_UNINIT

/*=============== CANIF_CONTROLLER_BUSOFF_ID ===============*/
#define CANIF_CANIF_CONTROLLER_BUSOFF_ID_CANIF_E_PARAM_CONTROLLER
#define CANIF_CANIF_CONTROLLER_BUSOFF_ID_CANIF_E_UNINIT

/*=============== CANIF_CONTROLLER_MODE_INDICATION_ID ===============*/
#define CANIF_CANIF_CONTROLLER_MODE_INDICATION_ID_CANIF_E_PARAM_CONTROLLER
#define CANIF_CANIF_CONTROLLER_MODE_INDICATION_ID_CANIF_E_PARAM_CTRLMODE
#define CANIF_CANIF_CONTROLLER_MODE_INDICATION_ID_CANIF_E_UNINIT

/*=============== CANIF_TRANSCEIVER_MODE_INDICATION_ID ===============*/
#define CANIF_CANIF_TRANSCEIVER_MODE_INDICATION_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_TRANSCEIVER_MODE_INDICATION_ID_CANIF_E_UNINIT

/*=============== CANIF_GETTXCONFIRMATIONSTATE_ID ===============*/
#define CANIF_CANIF_GETTXCONFIRMATIONSTATE_ID_CANIF_E_PARAM_CONTROLLERID
#define CANIF_CANIF_GETTXCONFIRMATIONSTATE_ID_CANIF_E_UNINIT

/*=============== CANIF_CONFIRM_PNAVAILABILITY_ID ===============*/
#define CANIF_CANIF_CONFIRM_PNAVAILABILITY_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_CONFIRM_PNAVAILABILITY_ID_CANIF_E_UNINIT

/*=============== CANIF_CLEARTRCVWUFFLAG_ID ===============*/
#define CANIF_CANIF_CLEARTRCVWUFFLAG_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_CLEARTRCVWUFFLAG_ID_CANIF_E_UNINIT

/*=============== CANIF_CHECKTRCVWAKEFLAG_ID ===============*/
#define CANIF_CANIF_CHECKTRCVWAKEFLAG_ID_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_CHECKTRCVWAKEFLAG_ID_CANIF_E_UNINIT

/*=============== CANIF_CLEARTRCV_WUFFLAG_INDICATION ===============*/
#define CANIF_CANIF_CLEARTRCV_WUFFLAG_INDICATION_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_CLEARTRCV_WUFFLAG_INDICATION_CANIF_E_UNINIT

/*=============== CANIF_CHECKTRCV_WAKEFLAG_INDICATION ===============*/
#define CANIF_CANIF_CHECKTRCV_WAKEFLAG_INDICATION_CANIF_E_PARAM_TRCV
#define CANIF_CANIF_CHECKTRCV_WAKEFLAG_INDICATION_CANIF_E_UNINIT
/*************************** CANIF end ***************************/

#ifdef __cplusplus
}
#endif

#endif /* CANIF_VCOS_LOG_H */
